.home {
    position: relative;

    p {
        padding: 0;
    }

    .bancen {
        width: 1200px;
        margin: 0 auto;
        overflow: hidden;
    }

    .nav {
        width: 100vw;
        border-top: 1px solid #ccc;
        background-color: #fff;

        ul {
            display: flex;
            line-height: 50px;
            text-align: center;

            li {
                cursor: pointer;
                width: 100px;
            }

            li:hover {
                background-color: #5874d8;
                color: white;
            }
        }
    }

    .carousel {
        position: relative;

        >div {
            position: absolute;
            top: 36%;
            right: 20%;
            width: 30%;
            color: white;
            background-image: linear-gradient(to right, #30cfd0 0%, #330867 100%);
            padding: 36px 30px;

            .title {
                font-size: 40px;
            }

            p {
                margin: 30px 0;
            }

            .btn {
                display: inline-block;
                padding: 10px 80px;
                background-color: #ffb900;
                cursor: pointer;
            }
        }
    }

    // 产品展示
    .section1 {
        background: url('/imgs/clients/bj.jpg') 0% 0%/cover no-repeat fixed;

        .title {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: white;
            padding-top: 40px;
        }

        .content {
            padding: 30px;

            ul {
                display: flex;
                justify-content: space-between;
                color: #fff;
                line-height: 50px;

                li {
                    cursor: pointer;
                }
            }
        }
    }

    // 公司介绍
    .section2 {
        .title {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #5874d8;
            padding: 20px;

            span:last-child {
                color: #ccc;
            }
        }


        .content {
            border-top: 1px solid #ccc;
            display: flex;
            padding: 20px 0;
            height: 300px;

            .left {
                img {
                    height: 100%;
                }
            }

            .right {
                img {
                    width: 100%;
                }

                p {
                    color: #ccc;
                    text-align: justify;
                }
            }
        }
    }

    // 工程案例
    .section3 {
        display: flex;
        justify-content: space-between;
        margin-bottom: 50px;

        .item {
            width: 32%;

            .title {
                display: flex;
                justify-content: space-between;
                align-items: center;
                color: #5874d8;
                margin: 50px 0 20px;

                span:nth-child(2) {
                    color: #ccc;
                }

                span:nth-child(3) {
                    display: inline-block;
                    width: 10px;
                    height: 10px;
                    background-color: #5874d8;
                }

                span:nth-child(4) {
                    display: inline-block;
                    width: 220px;
                    height: 10px;
                    background-color: #eee;
                }

            }

            .content1 {
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;

                img:nth-child(1) {
                    margin-bottom: 20px;
                }

                img:nth-child(2) {
                    margin-bottom: 20px;
                }
            }

            .content2 {
                .list {
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 20px;

                    div:first-child {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        padding: 0 12px;
                        background-color: #eee;
                        color: #666;
                        margin-right: 10px;

                        span:first-child {
                            font-size: 24px;
                            line-height: 30px;
                        }
                    }

                    div:last-child {
                        a {
                            display: block;
                            width: 300px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            margin-bottom: 10px;
                        }

                        p {
                            color: #666;
                            line-height: 20px;
                            margin: 0;
                        }
                    }
                }

                .list:last-child {
                    margin-bottom: 0;
                }
            }

            .content3 {
                p {
                    line-height: 34px;
                    color: #666;
                }
            }

            .content4 {
                display: flex;
                justify-content: space-between;
            }
        }
    }

    .customer {
        width: 80px;
        position: fixed;
        right: 80px;
        bottom: 80px;
        z-index: 999;
        cursor: pointer;
    }
}